<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js对象练习</title>
		<script>
			var person={
				name:"蔡徐坤",
				age:22,
				gender:"男",
				like:"唱、调、rap&&篮球",
					
				show:function(){
					return name+age+gender+like;
				}
				
				
				
			}
			person.method=function(){
				return name;
			}
			person.eat="laji";
				
			
			
		</script>
	</head>
	<body>
	</body>
</html>
